<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Test5</title>
</head>
<body>
</body>
<script>
    // function F1(){
    //     console.log("Hello World");
    // }
    // console.log(F1());
    // function F2(id,name){
    //     console.log(id + " " + name);
    //     return true;
    // }
    // console.log(F2());

    // let F3 = function(){
    //     let sum = 0;
    //     for(let i = 1;i <= 100;i++){
    //         sum += i;
    //     }
    //     console.log(sum);
    // }
    // F3();

    let num = 100;
    function F4(){
        //let num = 200;
        console.log(num);
        function F5(){
            //let num = 300;
            console.log(num);
        }
        F5();
    }
    F4();
</script>
</html>